package binary;

public class ComplementDemo {
    public static void main(String[] args) {
        int i=-45;
        System.out.println(Integer.toBinaryString(i));
        System.out.println(i);






        /*int max= Integer.MAX_VALUE;
        int min=Integer.MIN_VALUE;
        System.out.println(Integer.toBinaryString(max));
        System.out.println(Integer.toBinaryString(min));
        System.out.println(Integer.toBinaryString(-1));

         */
    }
}
